package com.neu.envprotection.feedback.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class SupervisorFeedbackAddReqDto {
    @Schema(description = "监督者id", required = true, example = "1")
    @JsonProperty
    private Integer sId;
    @Schema(description = "省id", required = true, example = "1")
    @JsonProperty
    private Integer pId;
    @Schema(description = "市id", required = true, example = "1")
    @JsonProperty
    private Integer cId;
    @Schema(description = "详细地址", required = true, example = "东北大学浑南校区小西门")
    private String address;
    @Schema(description = "预估等级", required = true, example = "1")
    private String estimatedGrade;
    @Schema(description = "反馈内容", required = true, example = "这里空气质量真好")
    private String info;
    @Schema(description = "反馈日期", required = true, example = "2024-06-12")
    @JsonProperty
    private String fDate;
    @Schema(description = "反馈时间", required = true, example = "15:30:20")
    @JsonProperty
    private String fTime;
    @Schema(description = "反馈时间全", required = true, example = "2024-06-12 15:30:20")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private String fDateTime;
}
